<div class="page_title">
	<div class="left">
		<h3><{$xoops_pagetitle}></h3>
	</div>
	<div class="right">
		<ul>
			<li class="last"><a href="project.php?op=add">New Pjoject</a></li>
		</ul>
	</div>
	<div class="clear"></div>
</div>

<table class="rb_table" cellspacing="1" cellpadding="1">
	<thead>
	<tr class="thead line">
		<th width="20%">Project</th>
		<th width="15%">Dir</th>
		<th width="10%">Ver</th>
		<th width="35%" class="last">Setting</th>
		<th width="20%">Updated</th>
	</tr>
	</thead>
	<tbody>
	<{foreach from=$projects item=project}>
	<tr class="line <{cycle values="odd,even"}>">
		<td align="center"><{$project.name}></td>
		<td align="center"><{$project.dirname}></td>
		<td align="center"><{$project.version}></td>
		<td align="center" class="rb_nav">
			<ul>
				<li><a href="project.php?op=edit&pid=<{$project.pid}>">Edit</a></li
				><li><a href="generate.php?pid=<{$project.pid}>">Generate</a></li
				><li class="last"><a href="project.php?op=delete&pid=<{$project.pid}>" onclick="return confirm('Are you sure?')">Del</a></li>
			</ul>
		</td>
		<td align="center"><{$project.updated}></td>
	</tr>
	<{foreachelse}>
	<tr>
		<td colspan="5">Project not found!</td>
	</tr>
	<{/foreach}>
	</tbody>
</table>